package com.car.dao;

import com.car.entity.Emp;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description:
 * @author: hsy
 * @version: v1.0
 * @Date
 */
@Repository("empMapper")
public interface EmpMapper {
    //查找员工
    List<Emp> findAll();
    //根据id查找员工
    Emp findById(int eid);
    //修改员工
    int updateEmp(Emp emp);
    //添加员工
    int addEmp(Emp emp);
    //查找员工状态
    List<Emp> findStatus(String status);
}
